package com.example.servicefeign.api;

import com.example.servicefeign.api.impl.HelloApiImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "eurka-client",fallback = HelloApiImpl.class)
public interface HelloApi {
    @GetMapping("/hello")
    String getHello();
}
